package com.cskaoyan.controller.wx_xd;

import com.cskaoyan.bean.MarketFootprint;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.footprint.FootprintVo;
import com.cskaoyan.service.FootprintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Austin Hsu
 * @Date 2022/9/12 21:47
 */
@RestController
@RequestMapping("wx/footprint")
public class FootprintController {

    @Autowired
    FootprintService footprintService;

    @RequestMapping("list")
    public BaseRespVo list(BasePageInfo info) {
        CommonData<FootprintVo> data=footprintService.query(info);
        return BaseRespVo.ok2(data);
    }

/*    @RequestMapping("delete")
    public BaseRespVo delete(int id){
        return BaseRespVo.ok3();
    }*/

}
